package cn.ly.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.minidev.json.annotate.JsonIgnore;
import springfox.documentation.annotations.ApiIgnore;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "区域")
public class DeviceUserArea implements Serializable {
    @TableId(value="d_id",type = IdType.AUTO)
    @ApiModelProperty(name = "dId",value = "区域id")
    private Integer dId;

    @ApiModelProperty(name = "dAreaName",value = "没用（在里面一个对象的字段里）")
    private String dAreaName;

    @ApiModelProperty(name = "dAreaPath",value = "坐标")
    private String dAreaPath;

    @ApiModelProperty(name = "dDeviceId",value = "关联设备的id")
    private Integer dDeviceId;

    @ApiModelProperty(name = "dUserId",value = "关联用户的id")
    private Integer dUserId;

    private Date dCreateTime;

    private Date dUpdateTime;

    private Date dDeleteTime;

    private Integer dStateCode;

    private User user;

    private Info info;

    private static final long serialVersionUID = 1L;

}